stable for well-known reasons.Domestic provision of the same services have Sina SAE (http://lib.sinaapp.com) and Baidu Bae (Http://developer.baidu.com/wiki/index.php?title=docs/cplat/libs).Other public libraries: Https://developers.google.com/speed/libraries/devguide?hl=zh-CN#jqueryThese are CDN Accelerated JS Library, the national loading speed is not bad.How do I reference a
break!
Google Ajax API CDN
Http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js
Google Ajax CDN documentation
Microsoft CDN
Http://ajax.microsoft.com/ajax/jquery/jquery-1.4.2.min.js
Ajax
If you don't want to download and store JQuery, you can also reference it through a CDN (content distribution network).The servers of Baidu, Google and Microsoft all have jQuery.JQuery Baidu CDN (domestic certainly choose Baidu or Sina)Load Address:
Not compressed:
Compression:Supported versions: 2.0.3, 2.0.2, 2.0.1,
jquery is the most common and popular JavaScript library in front-end development, how to load it to make our projects more performance and ask what to use CDN? When users visit their own site loading files from the server, each server can only download 2-4 files, which will reduce the efficiency of the file execution, if more than a few servers, so that the number of simultaneous loading of files is (2-4)
jquery is the most common and popular JavaScript library in front-end development, how to load it to make our projects more performance and ask what to use CDN? When users visit their own site loading files from the server, each server can only download 2-4 files, which will reduce the efficiency of the file execution, if more than a few servers, so that the number of simultaneous loading of files is (2-4)
, it is best to debug one after another, for example, you find 1.7.2 compatibility is good. This time you can discard the 1.6.2, you can use the 1.7.2 version of jquery to replace the 2.X new version.
Which jquery CDN library do you use?
jquery is too big! If your site is not fast,
10 domestic and foreign jQuery CDN performance competitions, jquerycdn
JQuery is the most common and popular javascript library in front-end development. How can we load it to improve the performance of our projects and ask what to use CDN? When users access their websites, they load files from the server. Each server
CDN stands for Content Delivery Network (CDN. The purpose is to add a new network architecture to the existing Internet to publish website content to the "edge" closest to the user's network ", this allows users to obtain the desired content from the nearest node to solve the problem of Internet congestion and improve the response speed of users accessing the website. Technically, it solves the slow respons
Jquery makes it easier and quicker to control page elements, so we don't need to worry too much about browser features when writing JavaScript. However, the more powerful jquery is, the more files it has. During website optimization, we usually optimize the hundreds of K downloads that can be squeezed out by JS, CSS, and image files.
Google is very interesting enough to provide the
JQuery, let us control the page elements more convenient and fast, let us write JS when we do not need to think too much of the browser characteristics. But the more powerful the jquery function, the greater its own file. When doing site optimization, usually through the optimization of JS, CSS and picture files can squeeze out the hundreds of k size of the download.
Google is very interesting, it provides
Share a few jquery of several domestic and foreign CDN accelerator nodes, convenient for the vast number of developers to call and save space, the official website is always the latest version of jquery So do not worry about the version update problem, the other accelerator node may not be in the updated version, so the decision to choose the issue.Address of off
Now the internet giants have provided some static resources public library for the vast number of developers to provide convenience;Because they have CDN nodes all over the place, using these repositories can speed up loading resources and save traffic.However, because there is a sacred wall of reason, I wait for the people living in the Celestial kingdom is not able to enjoy Google's resource pool;But Baidu's resource pool is also very good; recommen
Now the internet giants have provided some static resources public library for the vast number of developers to provide convenience;Because they have CDN nodes all over the place, using these repositories can speed up loading resources and save traffic.However, because there is a sacred wall of reason, I wait for the people living in the Celestial kingdom is not able to enjoy Google's resource pool;But Baidu's resource pool is also very good; recommen
The full name of the CDN is the Content Delivery network, which is the contents distribution networks. The goal is to add a new layer of network architecture to the existing Internet, publish the content of the site to the "Edge" of the network closest to the user, so that users can get the content they need, solve the congestion on the Internet, and increase the responsiveness of users to the site. The problem of the slow response speed of the user v
Previously, jquery script library was introduced in the website as follows:
Sometimes we need to introduce other large script class libraries, such as prototype. Every time we introduce them, we have to consider how depressing customers are when they open the web page.
Now, Google and Microsoft provide CDN services for libraries such as jquery, prototype, and mo
Google jquery CDN Acceleration Point
Http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
Microsoft jquery CDN Acceleration Point
Http://ajax.aspnetcdn.com/ajax/jQuery/jquery
A few of the domestic jquery CDN service addresses are recommended:Sina CDN, feel very quickly, with a lot of people, recommended use!Http://lib.sinaapp.com/js/jquery/1.9.1/jquery-1.9.1.min.jsChange the version number in the code between the other versions.CDN for 360Http://
This article mainly introduces how to use CDN and AJAX to accelerate jQuery loading in WordPress. Pay attention to the problems of Google connection in WordPress and CDN in the Mainland. For more information, see
Are you sure you want to put it in the Head part?
In fact, the best case is that js files are not stored inOtherwise, the loading speed of the head par
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.